//
//  screenItem.m
//  何五路
//
//  Created by _ADY on 15/6/19.
//  Copyright (c) 2015年 _ADY. All rights reserved.
//

#import "screenItem.h"

@implementation screenItem

- (void)encodeWithCoder:(NSCoder *)encoder
{
    [encoder encodeObject:self.OptionName forKey:@"OptionName"];
    
    [encoder encodeObject:self.OptionId forKey:@"OptionId"];
    
    [encoder encodeObject:self.AttributeId forKey:@"AttributeId"];
    

}

- (id)initWithCoder:(NSCoder *)decoder
{
    if ((self = [super init])) {
        
        self.OptionName = [decoder decodeObjectForKey:@"OptionName"];
        
        self.OptionId = [decoder decodeObjectForKey:@"OptionId"];
  
        self.AttributeId = [decoder decodeObjectForKey:@"AttributeId"];
    }
    
    return self;
    
}

@end
